﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    public class GroupDetailInfo
    {
        /// <summary>
        ///  群组ID
        /// </summary>
        [JsonProperty("group_detial_info_group_id")]
        public string Group_Detial_Info_Group_Id { get; set; }
        /// <summary>
        ///  群组类型
        /// </summary>
        [JsonProperty("group_detial_info_group_type")]
        public TIMGroupType Group_Detial_Info_Group_Type { get; set; }
        /// <summary>
        ///  群组名称
        /// </summary>
        [JsonProperty("group_detial_info_group_name")]
        public string Group_Detial_Info_Group_Name { get; set; }
        /// <summary>
        /// 群组公告
        /// </summary>
        [JsonProperty("group_detial_info_notification")]
        public string Group_Detial_Info_Notification { get; set; }
        /// <summary>
        /// 群组简介
        /// </summary>
        [JsonProperty("group_detial_info_introduction")]
        public string Group_Detial_Info_Introduction { get; set; }
        /// <summary>
        /// 群组头像URL
        /// </summary>
        [JsonProperty("group_detial_info_face_url")]
        public string Group_Detial_Info_Face_Url { get; set; }
        /// <summary>
        /// 群组创建时间
        /// </summary>
        [JsonProperty("group_detial_info_create_time")]
        public string Group_Detial_Info_Create_Time { get; set; }
        /// <summary>
        /// 群组创建时间
        /// </summary>
        [JsonProperty("group_detial_info_info_seq")]
        public string Group_Detial_Info_Info_Seq { get; set; }
        /// <summary>
        ///  群资料的Seq，群资料的每次变更都会增加这个字
        /// </summary>
        [JsonProperty("group_detial_info_last_info_time")]
        public string Group_Detial_Info_Last_Info_Time { get; set; }
        /// <summary>
        /// 群组信息最后修改时间
        /// </summary>
        [JsonProperty("group_detial_info_next_msg_seq")]
        public string Group_Detial_Info_Next_Msg_Seq { get; set; }
        /// <summary>
        /// 群最新消息的Seq
        /// </summary>
        [JsonProperty("group_detial_info_last_msg_time")]
        public string Group_Detial_Info_Last_Msg_Time { get; set; }
        /// <summary>
        /// 最新群组消息时间
        /// </summary>
        [JsonProperty("group_detial_info_member_num")]
        public string Group_Detial_Info_Member_Num { get; set; }
        /// <summary>
        ///  群组当前成员数量
        /// </summary>
        [JsonProperty("group_detial_info_max_member_num")]
        public string Group_Detial_Info_Max_Member_Num { get; set; }
        /// <summary>
        ///  群组加群选项
        /// </summary>
        [JsonProperty("group_detial_info_add_option")]
        public TIMGroupAddOption Group_Detial_Info_Add_Option { get; set; }
        /// <summary>
        /// 群组在线成员数量
        /// </summary>
        [JsonProperty("group_detial_info_online_member_num")]
        public string Group_Detial_Info_Online_Member_Num { get; set; }
        /// <summary>
        /// 群组成员是否对外可见
        /// </summary>
        [JsonProperty("group_detial_info_visible")]
        public string Group_Detial_Info_Visible { get; set; }
        /// <summary>
        /// 群组是否能被搜索
        /// </summary>
        [JsonProperty("group_detial_info_searchable")]
        public string Group_Detial_Info_Searchable { get; set; }
        /// <summary>
        /// 群组是否被设置了全员禁言
        /// </summary>
        [JsonProperty("group_detial_info_is_shutup_all")]
        public bool Group_Detial_Info_Is_Shutup_All { get; set; }
        /// <summary>
        /// 群组所有者ID
        /// </summary>
        [JsonProperty("group_detial_info_owener_identifier")]
        public string Group_Detial_Info_Owener_Identifier { get; set; }
        /// <summary>
        /// 群组成员信息自定义字段
        /// </summary>
        [JsonProperty("group_detial_info_custom_info")]
        public List<GroupInfoCustemString> Group_Detial_Info_Custom_Info { get; set; }
    }
}
